package com.example.smartagriculture.entity;

import java.io.Serializable;
import java.io.Serial;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * event 实体类
 * @author 张芸博
 * @since 2025-03-20
 */
@Data
@AllArgsConstructor
public class Event implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Schema(name = "id", description = "id")
    private Integer id;

    /**
     * 标题
     */
    @Schema(name = "event_name", description = "标题")
    private String eventName;

    /**
     * 内容
     */
    @Schema(name = "event", description = "内容")
    private String event;


}
